package com.theme.passport.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.theme.common.mvc.utils.PageUtils;
import com.theme.common.mvc.utils.Query;
import com.theme.passport.dao.SysFontsDao;
import com.theme.passport.entity.SysFontsEntity;
import com.theme.passport.service.SysFontsService;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("sysFontsService")
public class SysFontsServiceImpl extends ServiceImpl<SysFontsDao, SysFontsEntity> implements SysFontsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SysFontsEntity> page = this.page(
                new Query<SysFontsEntity>().getPage(params),
                new QueryWrapper<SysFontsEntity>()
        );

        return new PageUtils(page);
    }

}